﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/Admin.master" AutoEventWireup="true" Inherits="Administrator_AdminProductCategoryIU"
    Title="Quản trị Danh Mục Sản Phẩm" Codebehind="AdminProductCategoryIU.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h1>
        <asp:Label ID="lbAdminCategory" runat="server" Text="Cập nhật danh mục sản phẩm"></asp:Label>
    </h1>
    <table cellspacing="0" cellpadding="0" class="data-table">
        <tr>
            <td colspan="2">
                <span class="failureNotification">
                    <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                    <asp:Label ID="lbMessage" runat="server" Text=""></asp:Label>
                </span>
                <asp:ValidationSummary ID="DanhMucSanPhamSummary" runat="server" CssClass="failureNotification"
                    ValidationGroup="DanhMucSanPhamValidate" />
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="lbTenDanhMucVN" runat="server">Tên danh mục (VN) :</asp:Label>
            </td>
            <th>
                <asp:TextBox ID="txtTenDanhMucVN" runat="server" CssClass="textEntry"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rvTenDanhMucVN" runat="server" ControlToValidate="txtTenDanhMucVN"
                    ValidationGroup="DanhMucSanPhamValidate" CssClass="failureNotification" ErrorMessage="Tên danh mục không để trống"
                    ToolTip="Tên danh mục không để trống" Text="*" />
            </th>
        </tr>
        <tr class="OtherLanguage">
            <td align="right">
                <asp:Label ID="lbTenDanhMucOther" runat="server">Tên danh mục (Other) :</asp:Label>
            </td>
            <th>
                <asp:TextBox ID="txtTenDanhMucOther" runat="server" CssClass="textEntry"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rvTenDanhMucOther" runat="server" ControlToValidate="txtTenDanhMucOther"
                    ValidationGroup="DanhMucSanPhamValidateOther" CssClass="failureNotification"
                    ErrorMessage="Category name is not Emtry" ToolTip="Category name is not Emtry"
                    Text="*" />
            </th>
        </tr>
         <tr>
                    <td align="right">
                        <asp:Label ID="lbChuyenMucCha" runat="server">Chuyên Mục Cha:</asp:Label>
                    </td>
                    <th>
                        <asp:DropDownList ID="ddlChuyenMucCha" runat="server">
                        </asp:DropDownList>
                    </th>
                </tr>
        <tr>
            <td align="right">
                <asp:Label ID="lbSapXep" runat="server">Sắp xếp :</asp:Label>
            </td>
            <th>
                <asp:TextBox ID="txtSapXep" runat="server" CssClass="textEntry" Text="1" />
            </th>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="lbSoluongTruyCap" runat="server">Số lượng truy cập :</asp:Label>
            </td>
            <th>
                <asp:TextBox ID="txtSoLuongTruyCap" runat="server" ReadOnly="True" Text="0" CssClass="textEntry" />
            </th>
        </tr>
        <tr>
                    <td align="right">
                </td>
                <th>
                    <asp:CheckBox ID="ckPublish" runat="server" Checked="true" Text="Hiển thị" />
                </th>
                </tr>
        <tr>
            <td>
            </td>
            <th>
                <asp:Button ID="btnSave" runat="server" Text="Lưu" ValidationGroup="DanhMucSanPhamValidate"
                    OnClick="btnSave_Click" CssClass="btn_action" Style="height: 26px"  />
                 <asp:Button ID="btnApply" runat="server" Text="Áp dụng" ValidationGroup="DanhMucSanPhamValidate"
                   CssClass="btn_action" Style="height: 26px" onclick="btnApply_Click"  />
                <asp:Button ID="btnBack" runat="server" Text="Quay lại" OnClick="btnBack_Click" CssClass="btn_action"  />
            </th>
        </tr>
    </table>
</asp:Content>
